package com.example.yaja.yaja.service;

import com.example.yaja.yaja.entity.News;

import java.util.List;

/**
 * Created by Zero on 2017/12/4.
 */
public interface NewsService {

    List<News> findNewsByState(Integer state, Integer number);

    int updateNews(News news);

    News findNewsById(Integer newsId);

    int addNews(News news);

}
